package com.design.learn.general;

/**
 * 外观角色
 *
 * @author: cong zhi
 * @createDate: 2023/7/17 11:44
 * @updateUser: cong zhi
 * @updateDate: 2023/7/17 11:44
 * @updateRemark: 修改内容
 * @version: v1.0
 */
public class Facade {

    private SubSystemA a = new SubSystemA();
    private SubSystemB b = new SubSystemB();
    private SubSystemC c = new SubSystemC();


    public void doA(){
        this.a.doA();
    }

    public void doB(){
        this.b.doB();
    }

    public void doC(){
        this.c.doC();
    }
}
